package com.yunxi.service.dubboService.impl.customer;

import com.yunxi.bizToBaseData.service.Customer2BizDubboService;
import com.yunxi.service.localService.customer.CustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 * Created by xuruzi on 2019/10/17.
 */
public class Customer2BizDubboServiceImpl implements Customer2BizDubboService{

    @Autowired
    @Qualifier(value = "customerServiceImpl")
    CustomerService customerService;

    /**
     * 根据客户电话查询第一次通过销售助手创建客户信息的渠道商
     * @param phone
     * @return
     */
    @Override
    public String getFirstCreateCustomerPartnerCode(String phone) {
        return customerService.getFirstCreateCustomerPartnerCode(phone);
    }

}
